package org.meteorshower.employee_depart.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;
/**
 * 员工合同类，映射完成
 * @table contract
 * */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName ("contract")
public class EmpContract implements Serializable {
    private static final long serialVersionUID = 1L;
    @TableField("id")
    private String id;
    @TableField("e_id")
    private String eId;
    @TableField("contract_term")
    private Integer contractTerm;
    @TableField("begin_contract")
    private Date beginContract;
    @TableField("end_contract")
    private Date endContract;
    @TableField("conversion_time")
    private Date conversionTime;
    @TableField("leave_date")
    private Date leaveDate;
    @TableField("leave_reason")
    private String leaveReason;
}
